package com.zkw.group.mapper;

import com.zkw.group.entity.ProfesTerm;
import com.zkw.group.entity.ProfesTermCourse;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PublicProfesTermMapper {

    //获取学期列表
    List<ProfesTerm> getAllProfesTermList(String termname, int pageStart, int pageSize);

    //获取学期列表数目
    int getProfesTermCounts(String termname);

    //获取学期列表
    List<ProfesTermCourse> getAllProfesTermCourseList(String cname, String termname, int pageStart, int pageSize);

    //获取学期列表数目
    int getProfesTermCourseCounts(String cname,String termname);
}
